<style>
    #add-form span{
        color: red;
    }
</style>
<form id="add-form" class="form-horizontal form-ajax" role="form" data-toggle="validator" method="POST" action="">
    <div class="form-group">
        <label for="username" class="control-label col-xs-12 col-sm-2"><span >*</span>{:__('Username')}</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" class="form-control" id="username" name="row[username]" value="" data-rule="required" />
        </div>
    </div>

    <div class="form-group">
        <label for="mobile" class="control-label col-xs-12 col-sm-2"><span >*</span>{:__('Mobile')}</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" class="form-control" id="mobile" name="row[mobile]" autocomplete="off" value="" data-rule="required;mobile" />
        </div>
    </div>
    <div class="form-group">
        <label for="email" class="control-label col-xs-12 col-sm-2">{:__('Email')}</label>
        <div class="col-xs-12 col-sm-8">
            <input type="email" class="form-control" id="email" name="row[email]" value="" data-rule="email"/>
        </div>
    </div>
    <div class="form-group">
        <label for="position" class="control-label col-xs-12 col-sm-2">{:__('Position')}</label>
        <div class="col-xs-12 col-sm-8">
            <input type="email" class="form-control" id="position" name="row[position]" value="" />
        </div>
    </div>
    <div class="form-group">
        <label for="wechat" class="control-label col-xs-12 col-sm-2">{:__('Wechat')}</label>
        <div class="col-xs-12 col-sm-8">
            <input type="email" class="form-control" id="wechat" name="row[wechat]" value="" />
        </div>
    </div>
    <div class="form-group">
        <label for="qq" class="control-label col-xs-12 col-sm-2">{:__('Qq')}</label>
        <div class="col-xs-12 col-sm-8">
            <input type="email" class="form-control" id="qq" name="row[qq]" value="" />
        </div>
    </div>

    <div class="form-group hidden layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">提交</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
